package com.dava.helpmywife;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.util.Log;


public class Call extends Activity {
	private String tag="SoftLog";
	/**
	 * 打电话
	 * @param number
	 * @return
	 */
	public boolean call(Activity act,String number){
			Log.i(tag, number);
			
			Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:"+ number));
			Log.i(tag, "call sucess!");
			act.startActivity(intent);
			return true;
	
	}
	
}
